package com.fqgj.sentry.biz.pc.vo.policy;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by liupengpeng on 2017/8/14.
 */
public class PolicyInfo implements Serializable {
    /**
     * 策略集id
     */
    Long policySetsId;
    /**
     * 执行者id
     */
    Long executorId;

    /**
     * 执行者id
     */
    Long policyId;
    /**
     * 策略编码
     */
    String code;
    /**
     * 名称
     */
    String name;
    /**
     * 匹配类型 1：首次匹配 2最坏匹配 3 权重匹配
     */
    Integer matchingType;
    /**
     * 权重范围区间
     */
    List<Double> weightRangeList;
    /**
     * 策略类型 1：规则组 2评分卡
     */
    Integer type;
    /**
     * 基础分
     */
    BigDecimal baseScore;
    /**
     * 说明
     */
    String info;
    /**
     * 字段:评分卡时展示
     */
    String columnCode;
    /**
     * 字段描述
     */
    String columnName;

    public Long getPolicyId() {
        return policyId;
    }

    public PolicyInfo setPolicyId(Long policyId) {
        this.policyId = policyId;
        return this;
    }

    public Long getPolicySetsId() {
        return policySetsId;
    }

    public PolicyInfo setPolicySetsId(Long policySetsId) {
        this.policySetsId = policySetsId;
        return this;
    }

    public Long getExecutorId() {
        return executorId;
    }

    public PolicyInfo setExecutorId(Long executorId) {
        this.executorId = executorId;
        return this;
    }

    public String getCode() {
        return code;
    }

    public PolicyInfo setCode(String code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public PolicyInfo setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getMatchingType() {
        return matchingType;
    }

    public PolicyInfo setMatchingType(Integer matchingType) {
        this.matchingType = matchingType;
        return this;
    }

    public List<Double> getWeightRangeList() {
        return weightRangeList;
    }

    public PolicyInfo setWeightRangeList(List<Double> weightRangeList) {
        this.weightRangeList = weightRangeList;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public PolicyInfo setType(Integer type) {
        this.type = type;
        return this;
    }

    public BigDecimal getBaseScore() {
        return baseScore;
    }

    public PolicyInfo setBaseScore(BigDecimal baseScore) {
        this.baseScore = baseScore;
        return this;
    }

    public String getInfo() {
        return info;
    }

    public PolicyInfo setInfo(String info) {
        this.info = info;
        return this;
    }

    public String getColumnCode() {
        return columnCode;
    }

    public PolicyInfo setColumnCode(String columnCode) {
        this.columnCode = columnCode;
        return this;
    }

    public String getColumnName() {
        return columnName;
    }

    public PolicyInfo setColumnName(String columnName) {
        this.columnName = columnName;
        return this;
    }
}
